
// 产品
const productPics = ["1.jpg","2.jpg","3.jpg","4.jpg"];
let products = {};
products.creatProducts = function() {
  let products = [];
  for (let i = 0; i < 12; i++) {
    let index = Math.round(Math.random() * 3);
    products.push(productPics[index]);
  }
  return products;
}

module.exports = products;
